package com.yxt.qmgf.userinfo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxt.qmgf.start.sql.LoginSQLProvider;
import com.yxt.qmgf.userinfo.vo.UserInfoVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;

public interface UserInfoDao extends BaseMapper<UserInfoVO> {
    @SelectProvider(type= LoginSQLProvider.class, method="SelectByUid")
    UserInfoVO SelectByUid(@Param("uid")String uid);
    @SelectProvider(type= LoginSQLProvider.class, method="UpdateByVo")
    void UpdateByVo(@Param("uvo") UserInfoVO uvo);
    @SelectProvider(type= LoginSQLProvider.class, method="InsertByVo")
    void InsertByVo(@Param("uvo") UserInfoVO uvo);
    @SelectProvider(type= LoginSQLProvider.class, method="DeleteByUid")
    void DeleteByUid(@Param("uid") String uid);
}
